package com.wanglin.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanglin.reggie.dto.SetmealDto;
import com.wanglin.reggie.entity.Setmeal;

import java.util.List;

/**
 * SetmealService
 *
 * @author 王林
 * @version 1.0
 * @description
 * @date 2025/5/29 03:25
 * @projectName reggie_take_out
 * @package com.wanglin.reggie.service
 * @className com.wanglin.reggie.service.SetmealService
 * @copyright Copyright 2020 Theofanis, Wang Lin All rights reserved.
 */
public interface SetmealService extends IService<Setmeal> {
    public void saveWithDish(SetmealDto setmealDto);

    /**
     * 回显套餐数据：根据套餐id查询套餐
     * @return
     */
    public SetmealDto getDate(Long id);

    public void removeWithDish(List<Long> ids);

    /**
     * 根据套餐id修改售卖状态
     * @param status
     * @param ids
     */
    public void updateSetmealStatusById(Integer status,List<Long> ids);
}
